package com.pxmeta.dynamic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxmeta.dynamic.entity.Topic;
import com.pxmeta.dynamic.entity.dto.TopicDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 社区评论Mapper接口
 * 
 * @author wcl
 * @date 2022-03-21
 */
public interface TopicMapper extends BaseMapper<Topic> {


    Page<TopicDTO> getPage(@Param("page") Page page, @Param("type") Integer type, @Param("keyword") String keyword, @Param("categoryId") Long categoryId);
}
